#
# UI
#

Ui = "ui"
UiBody = "uibody"

# UI properties
UiPropType = "uiproptype"
UiPropSubUI = "uipropsubui"
UiPropID = "uipropid"
UiPropText = "uiproptext"
UiPropColumn = "uipropcolumn"
UiPropVisible = "uipropvisible"
UiPropColor = "uipropcolor"
UiPropApiTrigger = "uipropapitrigger"
UiPropURL = "uipropapiurl"
UiPropHasHeader = "uiprophasheader"
UiPropMapCredentical = "uipropmapcredencial"
UiPropCollection = [
    UiPropType,
    UiPropSubUI,
    UiPropID,
    UiPropText,
    UiPropColumn,
    UiPropVisible,
    UiPropColor,
    UiPropApiTrigger,
    UiPropURL,
    UiPropHasHeader,
    UiPropMapCredentical
]

# UI types
UiTypePanel = "uitypepanel"
UiTypeText = "uitypetext"
UiTypeSeparator = "uitypeseparator"
UiTypeSpinPage = "uitypespinpage"
UiTypeLayoutHorizontal = "uitypelayouthorizontal"
UiTypeLayoutVertical = "uitypelayoutvertical"
UiTypeLayoutGrid = "uitypelayoutgrid"
UiTypeInput = "uitypeinput"
UiTypePassword = "uitypepassword"
UiTypeButton = "uitypebutton"
UiTypeLink = "uitypelink"
UiTypeTab = "uitypetab"
UiTypeTable = "uitypetable"
UiTypeDatetime = "uitypedatetime"
UiTypeComboBox = "uitypecombobox"
UiTypeComboList = "uitypecombolist"
UiTypeMap = "uitypemap"
UiTypeCollection = [
    UiTypePanel,
    UiTypeText,
    UiTypeSeparator,
    UiTypeSpinPage,
    UiTypeLayoutHorizontal,
    UiTypeLayoutVertical,
    UiTypeLayoutGrid,
    UiTypeInput,
    UiTypePassword,
    UiTypeButton,
    UiTypeLink,
    UiTypeTab,
    UiTypeTable,
    UiTypeDatetime,
    UiTypeComboBox,
    UiTypeComboList,
    UiTypeMap
]

# UI API Trigger

UiApiTrigger = "uiapitrigger"
UiApiTriggerAction = "uiapitriggeraction"
UiApi = "uiapi"
UiApiTypeUID = "uiapitypeuid"
UiApiTypeString = "uiapitypestring"
UiApiTypeFunc = "uiapitypefunc"
UiApiTypeCollection = [
    UiApiTypeUID,
    UiApiTypeString,
    UiApiTypeFunc
]
UiApiActionClick = "uiapiactionclick"
UiApiActionCollection = [
    UiApiActionClick
]
UiApiResults = "uiapiresults"
UiApiResultCall = "uiapiresultcall"

UiApiResultSuccessful = "apiresultsuccessful"
UiApiResultFailed = "apiresultfailed"
UiApiResultInvalidToken = "apiresultinvalidtoken"
UiApiResultException = "apiresultexception"
UiApiParams = "apiparams"
UiApiParamHolder = "apiparamholder"
UiApiData = "apidata"
UiApiDataType = "apidatatype"
UiApiDataValue = "apidatavalue"

# Color
Red = "red"
ColorCollection = [
    Red
]

# Client
ClientHtml = "clienthtml"
